﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;

[ServiceContract(Namespace = "")]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class ServiceAjax {
	// Add [WebGet] attribute to use HTTP GET
	[WebGet]
	[OperationContract]
	public DateTime DoWork() {
		// Add your operation implementation here
		return DateTime.Now;
	}

	// Add more operations here and mark them with [OperationContract]
}
